
import {createRouter, createWebHistory} from 'vue-router';

const routes=createRouter({
  history:createWebHistory(),
  routes:[
    {
      path:'/',
      redirect:'/add'
    },
    {
      path:'/add',
      component:()=>import('../views/AddInvest.vue')
    },
    {
      path:'/show',
      component:()=>import('../views/ShowInvest.vue')
    },
  ]
})

export default routes;